from ..init.Global import configuration


urls = configuration["exclude"]["urls"]


class ExcludeUrl:
    @staticmethod
    def isExclude(url: str):
        for exclude in urls:
            if url.find(exclude) != -1:
                return True
        return False
